<template>
  <div>
    <h3>YApi接口管理平台</h3>
    {{stuData}}
  </div>
</template>

<script>
import axios from 'axios'
export default {
  data() {
    return {
      stuData: undefined
    }
  },
  created() {
    axios.get('/api/cms/student/info', {
      params: {
        id: 1
      }
    })
  .then((response)=>{
	console.log(response)
  this.stuData = response.data
})
  .catch((error)=>{
	console.log(error);
});
  }
,  methods: {
  }
}
</script>

<style>

</style>